using INTEX.DataBase;
using ReflectionStudio.Core.Events;
using System;
using System.Data;
using System.Windows;
using System.Windows.Data;
using System.Collections.Generic;
namespace WPFExcelReport
{
    public partial class VBSFARB
    {
        public DataSet LOADBYKEY(Dictionary<string, object> pm)
        {
            dwData = TBMain.NewRow();
            dwData["BSFMANDANT"] = app.Mandant;
            dwData["BSFKART"] = pm["ART"].ToString();
            dwData["BSFKVAR"] = pm["VAR"].ToString();
            dwData["BSFKFARBE"] = pm["FARBE"].ToString();
            SResult = QBSF01(dwData);
            return SResult;
        }
        public DataSet CREATEBYKEY(Dictionary<string, object> pm)
        {
            dwData = TBMain.NewRow();
            SetUpNewRow(ref dwData);           
            dwData["BSFMANDANT"] = app.Mandant;
            dwData["BSFKART"] = pm["ART"].ToString();
            dwData["BSFKVAR"] = pm["VAR"].ToString();
            dwData["BSFKFARBE"] = pm["FARBE"].ToString();
            TBMain.Rows.InsertAt(dwData, 0);
            InsertBSFARB(dwData);
            return SResult;
        }
        public virtual void Copy(Dictionary<string, object> pm)
        {
            string tart = (string)pm["TART"];
            string sart = (string)pm["SART"];
            dwData = TBMain.NewRow();
            dwData["BSFMANDANT"] = app.Mandant;
            dwData["BSFKART"] = sart.PadRight(20);
            SResult = QBSF02(dwData);
            foreach (DataRow dwSrc in SResult.Tables[0].Rows)
            {
                dwData = TBMain.NewRow();
                dwData.ItemArray = dwSrc.ItemArray;
                dwData["BSFKART"] = tart.PadRight(20);
                TBMain.Rows.InsertAt(dwData, 0);
                DBSFARB01(dwData);
                InsertBSFARB(dwData);
            }
        }
    }
    public partial class VBSFARB
    {
        public string BSFKART { get { if (dwMaster == null) return ""; return dwMaster["BSFKART"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFKART"] = value; OnPropertyChanged("BSFKART", value); } } //lENGth 20
        public string BSFKVAR { get { if (dwMaster == null) return ""; return dwMaster["BSFKVAR"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFKVAR"] = value; OnPropertyChanged("BSFKVAR", value); } } //lENGth 2
        public string BSFKFARBE { get { if (dwMaster == null) return ""; return dwMaster["BSFKFARBE"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFKFARBE"] = value; OnPropertyChanged("BSFKFARBE", value); } } //lENGth 10
        public string BSFKZKETTF { get { if (dwMaster == null) return ""; return dwMaster["BSFKZKETTF"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFKZKETTF"] = value; OnPropertyChanged("BSFKZKETTF", value); } } //lENGth 1
        public string BSFSTATUS { get { if (dwMaster == null) return ""; return dwMaster["BSFSTATUS"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFSTATUS"] = value; OnPropertyChanged("BSFSTATUS", value); } } //lENGth 1
        public string BSFSFKZ { get { if (dwMaster == null) return ""; return dwMaster["BSFSFKZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFSFKZ"] = value; OnPropertyChanged("BSFSFKZ", value); } } //lENGth 1
        public string BSFBEZ { get { if (dwMaster == null) return ""; return dwMaster["BSFBEZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFBEZ"] = value; OnPropertyChanged("BSFBEZ", value); } } //lENGth 40

        #region======ColumnSchema==========
        /*
                 public string BSFMANDANT { get { if (dwMaster == null) return ""; return dwMaster["BSFMANDANT"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFMANDANT"] = value; OnPropertyChanged("BSFMANDANT", value); } } //lENGth 2
                 public string BSFTEXTSCHL { get { if (dwMaster == null) return ""; return dwMaster["BSFTEXTSCHL"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFTEXTSCHL"] = value; OnPropertyChanged("BSFTEXTSCHL", value); } } //lENGth 10
                 public string BSFFKARTNR { get { if (dwMaster == null) return ""; return dwMaster["BSFFKARTNR"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFFKARTNR"] = value; OnPropertyChanged("BSFFKARTNR", value); } } //lENGth 10
                 public string BSFROHFARBE { get { if (dwMaster == null) return ""; return dwMaster["BSFROHFARBE"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFROHFARBE"] = value; OnPropertyChanged("BSFROHFARBE", value); } } //lENGth 10
                 public string BSFMUDESS { get { if (dwMaster == null) return ""; return dwMaster["BSFMUDESS"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFMUDESS"] = value; OnPropertyChanged("BSFMUDESS", value); } } //lENGth 10
                 public string BSFUNIFARB { get { if (dwMaster == null) return ""; return dwMaster["BSFUNIFARB"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFUNIFARB"] = value; OnPropertyChanged("BSFUNIFARB", value); } } //lENGth 10
                 public double BSFZTWAHL { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["BSFZTWAHL"].ToString()); } set { if (dwMaster == null) return; dwMaster["BSFZTWAHL"] = value; OnPropertyChanged("BSFZTWAHL", value); } } //lENGth 0
                 public string BSFRUESTGRP { get { if (dwMaster == null) return ""; return dwMaster["BSFRUESTGRP"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFRUESTGRP"] = value; OnPropertyChanged("BSFRUESTGRP", value); } } //lENGth 3
                 public string BSFPRUEFGRP { get { if (dwMaster == null) return ""; return dwMaster["BSFPRUEFGRP"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFPRUEFGRP"] = value; OnPropertyChanged("BSFPRUEFGRP", value); } } //lENGth 1
                 public string BSFFDVF { get { if (dwMaster == null) return ""; return dwMaster["BSFFDVF"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFFDVF"] = value; OnPropertyChanged("BSFFDVF", value); } } //lENGth 3
                 public string BSFPRGRP { get { if (dwMaster == null) return ""; return dwMaster["BSFPRGRP"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFPRGRP"] = value; OnPropertyChanged("BSFPRGRP", value); } } //lENGth 1
                 public string BSFGRPBEZ { get { if (dwMaster == null) return ""; return dwMaster["BSFGRPBEZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFGRPBEZ"] = value; OnPropertyChanged("BSFGRPBEZ", value); } } //lENGth 20
                 public double BSFPREIS { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["BSFPREIS"].ToString()); } set { if (dwMaster == null) return; dwMaster["BSFPREIS"] = value; OnPropertyChanged("BSFPREIS", value); } } //lENGth 0
                 public double BSFZUABPR { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["BSFZUABPR"].ToString()); } set { if (dwMaster == null) return; dwMaster["BSFZUABPR"] = value; OnPropertyChanged("BSFZUABPR", value); } } //lENGth 0
                 public double BSFZUABAB { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["BSFZUABAB"].ToString()); } set { if (dwMaster == null) return; dwMaster["BSFZUABAB"] = value; OnPropertyChanged("BSFZUABAB", value); } } //lENGth 0
                 public string BSFNFART { get { if (dwMaster == null) return ""; return dwMaster["BSFNFART"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFNFART"] = value; OnPropertyChanged("BSFNFART", value); } } //lENGth 4
                 public double BSFWERT { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["BSFWERT"].ToString()); } set { if (dwMaster == null) return; dwMaster["BSFWERT"] = value; OnPropertyChanged("BSFWERT", value); } } //lENGth 0
                 public string BSFKZPA { get { if (dwMaster == null) return ""; return dwMaster["BSFKZPA"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFKZPA"] = value; OnPropertyChanged("BSFKZPA", value); } } //lENGth 1
                 public double BSFZUABVH { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["BSFZUABVH"].ToString()); } set { if (dwMaster == null) return; dwMaster["BSFZUABVH"] = value; OnPropertyChanged("BSFZUABVH", value); } } //lENGth 0
                 public double BSFZUABAK { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["BSFZUABAK"].ToString()); } set { if (dwMaster == null) return; dwMaster["BSFZUABAK"] = value; OnPropertyChanged("BSFZUABAK", value); } } //lENGth 0
                 public double BSFZUABKU { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["BSFZUABKU"].ToString()); } set { if (dwMaster == null) return; dwMaster["BSFZUABKU"] = value; OnPropertyChanged("BSFZUABKU", value); } } //lENGth 0
                 public string BSFZUABPROZ { get { if (dwMaster == null) return ""; return dwMaster["BSFZUABPROZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFZUABPROZ"] = value; OnPropertyChanged("BSFZUABPROZ", value); } } //lENGth 1
                 public double BSFFA { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["BSFFA"].ToString()); } set { if (dwMaster == null) return; dwMaster["BSFFA"] = value; OnPropertyChanged("BSFFA", value); } } //lENGth 0
                 public double BSFGA { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["BSFGA"].ToString()); } set { if (dwMaster == null) return; dwMaster["BSFGA"] = value; OnPropertyChanged("BSFGA", value); } } //lENGth 0
                 public double BSFQA { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["BSFQA"].ToString()); } set { if (dwMaster == null) return; dwMaster["BSFQA"] = value; OnPropertyChanged("BSFQA", value); } } //lENGth 0
                 public double BSFQPKTH { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["BSFQPKTH"].ToString()); } set { if (dwMaster == null) return; dwMaster["BSFQPKTH"] = value; OnPropertyChanged("BSFQPKTH", value); } } //lENGth 0
                 public double BSFQPKTLH { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["BSFQPKTLH"].ToString()); } set { if (dwMaster == null) return; dwMaster["BSFQPKTLH"] = value; OnPropertyChanged("BSFQPKTLH", value); } } //lENGth 0
                 public string BSFLOAN { get { if (dwMaster == null) return ""; return dwMaster["BSFLOAN"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFLOAN"] = value; OnPropertyChanged("BSFLOAN", value); } } //lENGth 2
                 public string BSFLBAN { get { if (dwMaster == null) return ""; return dwMaster["BSFLBAN"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFLBAN"] = value; OnPropertyChanged("BSFLBAN", value); } } //lENGth 2
                 public string BSFLPAN { get { if (dwMaster == null) return ""; return dwMaster["BSFLPAN"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFLPAN"] = value; OnPropertyChanged("BSFLPAN", value); } } //lENGth 8
                 public string BSFABKZAN { get { if (dwMaster == null) return ""; return dwMaster["BSFABKZAN"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFABKZAN"] = value; OnPropertyChanged("BSFABKZAN", value); } } //lENGth 1
                 public string BSFPKL { get { if (dwMaster == null) return ""; return dwMaster["BSFPKL"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFPKL"] = value; OnPropertyChanged("BSFPKL", value); } } //lENGth 2
                 public double BSFVBBRT { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["BSFVBBRT"].ToString()); } set { if (dwMaster == null) return; dwMaster["BSFVBBRT"] = value; OnPropertyChanged("BSFVBBRT", value); } } //lENGth 0
                 public double BSFBRTTOLPL { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["BSFBRTTOLPL"].ToString()); } set { if (dwMaster == null) return; dwMaster["BSFBRTTOLPL"] = value; OnPropertyChanged("BSFBRTTOLPL", value); } } //lENGth 0
                 public double BSFBRTTOLMI { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["BSFBRTTOLMI"].ToString()); } set { if (dwMaster == null) return; dwMaster["BSFBRTTOLMI"] = value; OnPropertyChanged("BSFBRTTOLMI", value); } } //lENGth 0
                 public double BSFVBGRQM { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["BSFVBGRQM"].ToString()); } set { if (dwMaster == null) return; dwMaster["BSFVBGRQM"] = value; OnPropertyChanged("BSFVBGRQM", value); } } //lENGth 0
                 public double BSFVBGRLFD { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["BSFVBGRLFD"].ToString()); } set { if (dwMaster == null) return; dwMaster["BSFVBGRLFD"] = value; OnPropertyChanged("BSFVBGRLFD", value); } } //lENGth 0
                 public double BSFGWTOLPL { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["BSFGWTOLPL"].ToString()); } set { if (dwMaster == null) return; dwMaster["BSFGWTOLPL"] = value; OnPropertyChanged("BSFGWTOLPL", value); } } //lENGth 0
                 public double BSFGWTOLMIN { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["BSFGWTOLMIN"].ToString()); } set { if (dwMaster == null) return; dwMaster["BSFGWTOLMIN"] = value; OnPropertyChanged("BSFGWTOLMIN", value); } } //lENGth 0
                 public double BSFLAEAEND { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["BSFLAEAEND"].ToString()); } set { if (dwMaster == null) return; dwMaster["BSFLAEAEND"] = value; OnPropertyChanged("BSFLAEAEND", value); } } //lENGth 0
                 public double BSFGWVERL { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["BSFGWVERL"].ToString()); } set { if (dwMaster == null) return; dwMaster["BSFGWVERL"] = value; OnPropertyChanged("BSFGWVERL", value); } } //lENGth 0
                 public string BSFRESTSCHL { get { if (dwMaster == null) return ""; return dwMaster["BSFRESTSCHL"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFRESTSCHL"] = value; OnPropertyChanged("BSFRESTSCHL", value); } } //lENGth 1
                 public double BSFPHWERTMI { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["BSFPHWERTMI"].ToString()); } set { if (dwMaster == null) return; dwMaster["BSFPHWERTMI"] = value; OnPropertyChanged("BSFPHWERTMI", value); } } //lENGth 0
                 public double BSFPHWERTMA { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["BSFPHWERTMA"].ToString()); } set { if (dwMaster == null) return; dwMaster["BSFPHWERTMA"] = value; OnPropertyChanged("BSFPHWERTMA", value); } } //lENGth 0
                 public double BSFWEISSGRD { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["BSFWEISSGRD"].ToString()); } set { if (dwMaster == null) return; dwMaster["BSFWEISSGRD"] = value; OnPropertyChanged("BSFWEISSGRD", value); } } //lENGth 0
                 public double BSFNETZFVON { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["BSFNETZFVON"].ToString()); } set { if (dwMaster == null) return; dwMaster["BSFNETZFVON"] = value; OnPropertyChanged("BSFNETZFVON", value); } } //lENGth 0
                 public double BSFNETZFBIS { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["BSFNETZFBIS"].ToString()); } set { if (dwMaster == null) return; dwMaster["BSFNETZFBIS"] = value; OnPropertyChanged("BSFNETZFBIS", value); } } //lENGth 0
                 public double BSFNETZFSEK { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["BSFNETZFSEK"].ToString()); } set { if (dwMaster == null) return; dwMaster["BSFNETZFSEK"] = value; OnPropertyChanged("BSFNETZFSEK", value); } } //lENGth 0
                 public double BSFRSSFTRKV { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["BSFRSSFTRKV"].ToString()); } set { if (dwMaster == null) return; dwMaster["BSFRSSFTRKV"] = value; OnPropertyChanged("BSFRSSFTRKV", value); } } //lENGth 0
                 public double BSFRSSFTRKB { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["BSFRSSFTRKB"].ToString()); } set { if (dwMaster == null) return; dwMaster["BSFRSSFTRKB"] = value; OnPropertyChanged("BSFRSSFTRKB", value); } } //lENGth 0
                 public string BSFUNIFAEH { get { if (dwMaster == null) return ""; return dwMaster["BSFUNIFAEH"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFUNIFAEH"] = value; OnPropertyChanged("BSFUNIFAEH", value); } } //lENGth 1
                 public string BSFFADGERAD { get { if (dwMaster == null) return ""; return dwMaster["BSFFADGERAD"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFFADGERAD"] = value; OnPropertyChanged("BSFFADGERAD", value); } } //lENGth 1
                 public string BSFMUSTFRB { get { if (dwMaster == null) return ""; return dwMaster["BSFMUSTFRB"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFMUSTFRB"] = value; OnPropertyChanged("BSFMUSTFRB", value); } } //lENGth 10
                 public string BSFVORB { get { if (dwMaster == null) return ""; return dwMaster["BSFVORB"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFVORB"] = value; OnPropertyChanged("BSFVORB", value); } } //lENGth 3
                 public string BSFNACHB { get { if (dwMaster == null) return ""; return dwMaster["BSFNACHB"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFNACHB"] = value; OnPropertyChanged("BSFNACHB", value); } } //lENGth 3
                 public string BSFMU { get { if (dwMaster == null) return ""; return dwMaster["BSFMU"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFMU"] = value; OnPropertyChanged("BSFMU", value); } } //lENGth 1
                 public string BSFMURLOD { get { if (dwMaster == null) return ""; return dwMaster["BSFMURLOD"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFMURLOD"] = value; OnPropertyChanged("BSFMURLOD", value); } } //lENGth 2
                 public string BSFMUPROD { get { if (dwMaster == null) return ""; return dwMaster["BSFMUPROD"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFMUPROD"] = value; OnPropertyChanged("BSFMUPROD", value); } } //lENGth 2
                 public string BSFMUCTOD { get { if (dwMaster == null) return ""; return dwMaster["BSFMUCTOD"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFMUCTOD"] = value; OnPropertyChanged("BSFMUCTOD", value); } } //lENGth 1
                 public double BSFMUDTRL { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["BSFMUDTRL"].ToString()); } set { if (dwMaster == null) return; dwMaster["BSFMUDTRL"] = value; OnPropertyChanged("BSFMUDTRL", value); } } //lENGth 0
                 public string BSFMUBIRL { get { if (dwMaster == null) return ""; return dwMaster["BSFMUBIRL"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFMUBIRL"] = value; OnPropertyChanged("BSFMUBIRL", value); } } //lENGth 8
                 public string BSFLMANRKRS { get { if (dwMaster == null) return ""; return dwMaster["BSFLMANRKRS"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFLMANRKRS"] = value; OnPropertyChanged("BSFLMANRKRS", value); } } //lENGth 2
                 public string BSFLMALFDNR { get { if (dwMaster == null) return ""; return dwMaster["BSFLMALFDNR"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFLMALFDNR"] = value; OnPropertyChanged("BSFLMALFDNR", value); } } //lENGth 4
                 public string BSFLMAPOS { get { if (dwMaster == null) return ""; return dwMaster["BSFLMAPOS"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFLMAPOS"] = value; OnPropertyChanged("BSFLMAPOS", value); } } //lENGth 2
                 public string BSFLODKRS { get { if (dwMaster == null) return ""; return dwMaster["BSFLODKRS"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFLODKRS"] = value; OnPropertyChanged("BSFLODKRS", value); } } //lENGth 2
                 public string BSFLODLFD { get { if (dwMaster == null) return ""; return dwMaster["BSFLODLFD"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFLODLFD"] = value; OnPropertyChanged("BSFLODLFD", value); } } //lENGth 6
                 public string BSFLODPOS { get { if (dwMaster == null) return ""; return dwMaster["BSFLODPOS"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFLODPOS"] = value; OnPropertyChanged("BSFLODPOS", value); } } //lENGth 3
                 public string BSFFILLER { get { if (dwMaster == null) return ""; return dwMaster["BSFFILLER"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFFILLER"] = value; OnPropertyChanged("BSFFILLER", value); } } //lENGth 62
                 public double BSFAENZL { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["BSFAENZL"].ToString()); } set { if (dwMaster == null) return; dwMaster["BSFAENZL"] = value; OnPropertyChanged("BSFAENZL", value); } } //lENGth 0
                 public string BSFAENB { get { if (dwMaster == null) return ""; return dwMaster["BSFAENB"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFAENB"] = value; OnPropertyChanged("BSFAENB", value); } } //lENGth 8
                 public double BSFAEND { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["BSFAEND"].ToString()); } set { if (dwMaster == null) return; dwMaster["BSFAEND"] = value; OnPropertyChanged("BSFAEND", value); } } //lENGth 0
                 public string BSFNEUB { get { if (dwMaster == null) return ""; return dwMaster["BSFNEUB"].ToString(); } set { if (dwMaster == null) return; dwMaster["BSFNEUB"] = value; OnPropertyChanged("BSFNEUB", value); } } //lENGth 8
                 public double BSFNEUD { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["BSFNEUD"].ToString()); } set { if (dwMaster == null) return; dwMaster["BSFNEUD"] = value; OnPropertyChanged("BSFNEUD", value); } } //lENGth 0
        */
        #endregion
    }
}
